/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;


namespace JDCloudSDK.Streamcomputer.Model
{

    /// <summary>
    ///  storage
    /// </summary>
    public class Storage
    {

        ///<summary>
        /// Id
        ///</summary>
        public int? Id{ get; set; }
        ///<summary>
        /// Name
        ///</summary>
        public string Name{ get; set; }
        ///<summary>
        /// Uid
        ///</summary>
        public string Uid{ get; set; }
        ///<summary>
        /// Type
        ///</summary>
        public string Type{ get; set; }
        ///<summary>
        /// 这个参数有input和ouput两个可选值，取决于创建输入还是输出
        ///</summary>
        public string StorageType{ get; set; }
        ///<summary>
        /// UserName
        ///</summary>
        public string UserName{ get; set; }
        ///<summary>
        /// CreateTime
        ///</summary>
        public DateTime? CreateTime{ get; set; }
        ///<summary>
        /// UpdateTime
        ///</summary>
        public DateTime? UpdateTime{ get; set; }
        ///<summary>
        /// NamespaceId
        ///</summary>
        public string NamespaceId{ get; set; }
        ///<summary>
        /// Deleted
        ///</summary>
        public byte Deleted{ get; set; }
        ///<summary>
        /// Storage的具体参数。&lt;br&gt;1、创建源类型为流式数据输入时，则需要传输source，topicName，duration，format，delimiter，schema 。&lt;br&gt; 2、创建输出如果输出位置为流数据总线，需要传topicName，format，delimiter，ossFlag，bucketName，directory，objectName。&lt;br&gt;3、创建输出如果输出位置为数据计算服务，则需要传输database，table，ossFlag，bucketName，directory，objectName。
        ///</summary>
        public List<StorageParameter> StorageParameterList{ get; set; }
    }
}
